package by.msokoloff.javaweb2015.webapp.page.city;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;

import by.msokoloff.javaweb2015.datamodel.City;

public class CityEditPanel extends Panel{
	
	public CityEditPanel(String id, City city) {
		super(id);
		add(new CityForm("cityEditForm", new CompoundPropertyModel<City>(city)));
	}

}
